# !/usr/bin/env python
# -*- coding: utf-8 -*-

"""
__project__ =  'tricker'
__file__    =  '__init__.py.py'
__author__  =  'king'
__time__    =  '2024/9/23 16:05'


                              _ooOoo_
                             o8888888o
                             88" . "88
                             (| -_- |)
                             O\  =  /O
                          ____/`---'\____
                        .'  \\|     |//  `.
                       /  \\|||  :  |||//  \
                      /  _||||| -:- |||||-  \
                      |   | \\\  -  /// |   |
                      | \_|  ''\---/''  |   |
                      \  .-\__  `-`  ___/-. /
                    ___`. .'  /--.--\  `. . __
                 ."" '<  `.___\_<|>_/___.'  >'"".
                | | :  `- \`.;`\ _ /`;.`/ - ` : | |
                \  \ `-.   \_ __\ /__ _/   .-` /  /
           ======`-.____`-.___\_____/___.-`____.-'======
                              `=---='
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                       佛祖保佑        永无BUG
"""
import os

import click


@click.group(name='path', help='Path Trickers')
def group():
    pass


@group.command(name='clean', help='Clean Path')
@click.option('-p', 'path', default='./', help='Path, default is ./ ')
@click.option('--contain', 'contain', default=None, help='Clean contain')
def clean(path: str, contain: str):
    dirs = os.listdir(path)
    print(dirs)


@group.command(name='rename', help='Rename Path')
@click.option('-p', 'path', default='./', help='Path, default is ./ ')
@click.option('--contain', 'contain', default=None, help='Clean contain')
def rename(path: str, contain: str):
    dirs = os.listdir(path)
    print(dirs)
